﻿namespace io.gitee.springsongs
{
    internal class Program
    {
        static void Main(string[] args)
        {
            string[] users = new string[4];
            users[0] = "springsongs0";
            users[1] = "springsongs1";
            users[2] = "springsongs2";
            users[3] = "springsongs3";
            Console.WriteLine(users[0]);
            Console.WriteLine(users[1]);
            Console.WriteLine(users[2]);
            Console.WriteLine(users[3]);
            Console.WriteLine(users.Length);
            Console.WriteLine(users.GetType());
            string[] users1 = new string[] { "springsongs0", "springsongs1", "springsongs2", "springsongs3" };
            Console.WriteLine(users1[0]);
            Console.WriteLine(users1[1]);
            Console.WriteLine(users1[2]);
            Console.WriteLine(users1[3]);
            Console.WriteLine(users1.Length);
            Console.WriteLine(users1.GetType());
            List<String> users2 = new List<String>();
            users2.Add("springsongs0");
            users2.Add("springsongs1");
            users2.Add("springsongs2");
            users2.Add("springsongs3");
            foreach(string item in users2)
            {
                Console.WriteLine(item);
            }
            Console.WriteLine(users2.Count);
            Console.WriteLine(users2.GetType());
        }
    }
}